package com.systemCapacity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("equipment")
public class Equipment implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "equipmentId")
    private String equipmentId;

    @NotBlank
    private String equipmentName;

    @NotBlank
    private String pTemplateId;

    private Double weight;
}
